package com.sanhuo.security.service;

import com.sanhuo.security.dao.MenuMapper;
import com.sanhuo.security.entity.Menu;
import com.sanhuo.triild.Basic.BaseMapper;
import com.sanhuo.triild.Basic.BaseService;
import com.sanhuo.triild.annotation.MapperWire;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class MenuService extends BaseService<Menu> {
    @MapperWire
    private MenuMapper menuMapper;

    @Override
    public BaseMapper<Menu> getBaseMapper() {
        return menuMapper;
    }
}
